02. Instructions
#### Starter Code
Please continue from your Midterm project repository. Please create a new branch for all commits you make regarding your final project
OR
Download the starter code here: Starter Code
#### Steps
Create a fully functioning REST API with polyglot persistence that can be inspected via a browser or a tool like Postman.
- Setup
MongoDB
and verify connectivity. - Define classes for
MongoDB
model. - Define required Spring Data MongoDB Repositories.
- Write a persistence service to read/write reviews from
MongoDB
. When loading reviews for a product, the service reads the ids fromMySQL
and the review document fromMongoDB
. - Write tests for
JPA
&MongoDB
repositories. - Wire the review persistence service to the already provided
REST Controller
.